package com.dkm.ec.sale.persistence.dao;
import java.util.List;
import java.util.Map;

import com.dkm.base.api.model.Page;
import com.dkm.base.db.persistence.dao.IQueryDao;
import com.dkm.ec.sale.persistence.entity.SaleEntityPo;
import com.dkm.ec.sale.persistence.entity.SaleProdPo;

/**
 * 对象功能:销售产品实体 QueryDao接口
 * 开发公司:SKG.COM
 * 开发人员:Yuki
 * 创建时间:2015-01-16 15:23:27
 */
public interface SaleEntityQueryDao extends IQueryDao<String, SaleEntityPo> {
	public SaleEntityPo getSaleEntityPoByKey(String key);

	public List<SaleEntityPo> findProdRec(String userId, String productId,
			Integer count);
	
	public List<SaleProdPo> findProdByUpdateTime(String startTime,String endTime,Page pager);
	
	public List<SaleEntityPo> find2(Map<String,Object> paraMap);
	
	public int findProdByUpdateTimeCount(String startTime,String endTime);
	
	public String findAttrIdByEavSetKey(String eavSetKey);
	
}
